<?php
include('conf.php');
$ux="https://openapi.baidu.com/oauth/2.0/token";
$ud=array(
   	"grant_type"=>"refresh_token",
	"refresh_token"=>$_GET['code'],
	"client_id"=>AK,
	"client_secret"=>SK,
	"scope"=>'basic,netdisk'
);
echo Hpost($ux,$ud);